package com.youaishujuhui.devops.web.util;

public class Common {

	/**
	 * 登录用户key
	 */
	public static final String SESSION_LOGIN_USER_KEY = "loginUser";

	public static final String HOST_INIT_DIV_ID_PREFIX = "host_init_";
	
	public static final String DB_BAK_REMOTE_PREFIX = "bak_remote_";
	
	public static final String DB_INFOCENTER_BAK_REMOTE_PREFIX = "infocenter_bak_remote_";
	
	// 主机角色
	
	// 测试服
	public static final int HOST_ROLE_TEST = 1;
	
	// 游戏服
	public static final int HOST_ROLE_GAME_SERVER = 2;
	
	// 中央服
	public static final int HOST_ROLE_INFO_CENTER = 4;
	
	// 消息服
	public static final int HOST_ROLE_INFO_MSG = 5;
	
	// 下载服
	public static final int HOST_ROLE_INFO_DOWNLOAD = 6;
	
	// 其他
	public static final int HOST_ROLE_INFO_OTHER = 7;
	
	// 主机状态
	
	// 上架
	public static final int HOST_STATE_ONLINE = 1;
	
	// 下架
	public static final int HOST_STATE_OFFLINE = 0;
	
	// 已回收
	public static final int HOST_STATE_DELETE = -1;
	
	// 已初始化
	public static final int HOST_STATE_INIT = -2;
	
	// 未初始化
	public static final int HOST_STATE_UNINIT = -3;
}
